
public class Employee
{
   public String firstName;
   public String lastName;
   private int salary;

   public Employee()
   {
      this( "Yehezkel", "The Prophet", 50000);
   }
 
   public Employee(String fn, String ln, int sal)
   {
      firstName = fn;
      lastName = ln;
      salary = sal;
   }
   
   public int getSalary()
   {
      return salary;
   }
   
   public void setSalary(int sal)
   {
      salary = sal;
   }
   
   public String toString() 
   {
      return "Employee: " + firstName +  " "
             + lastName + " " + salary;
   }

}
